projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e861180
)
open-with-widget: don't check if the app supports URIs/files
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 23 Nov 2010 15:49:30 +0000
(16:49 +0100)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 23 Nov 2010 15:53:23 +0000
(16:53 +0100)
Because some apps are broken wrt. this property.
gtk/gtkopenwithwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkopenwithwidget.c
b/gtk/gtkopenwithwidget.c
index 4b8f73fa1ab6d8f16884dc5bf7eb4e9778000994..801d881f99fae322d930a1c4f4a1bd4c21e5c728 100644
(file)
--- a/
gtk/gtkopenwithwidget.c
+++ b/
gtk/gtkopenwithwidget.c
@@
-115,7
+115,7
@@
refresh_and_emit_app_selected (GtkOpenWithWidget *self,
if (info == NULL)
return;
- if (self->priv->selected_app_info)
+ if (self->priv->selected_app_info
!= NULL
)
{
if (!g_app_info_equal (self->priv->selected_app_info, info))
{
@@
-427,10
+427,6
@@
gtk_open_with_widget_add_section (GtkOpenWithWidget *self,
{
app = l->data;
- if (!g_app_info_supports_uris (app) &&
- !g_app_info_supports_files (app))
- continue;
-
if (exclude_apps != NULL &&
g_list_find_custom (exclude_apps, app,
(GCompareFunc) compare_apps_func))